import React from 'react'
import {useParams} from 'react-router-dom'

export default function UserInfo() {
  const params=useParams()
  return (
    <div>
        <h2>ID:{params.id}</h2>
    </div>
  )
}
